﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using DTGroup.iNek.Configuration;
using DTGroup.iNek.Business;
using DTGroup.iNek.Model;
using DTGroup.iNek.WinUI.Hangzhou;
using DTGroup.iNek.WinUI.Components.FingerPrintDatabase;
using DTGroup.iNek.WinUI.FingerPrintDatabase;

namespace DTGroup.iNek.WinUI
{
    static class Program
    {
        private static int cursor = 0;
        private static readonly object locker = new object();

        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            ConfigurationManger.Init(ConfigurationType.WindowsForm);
            EnumsRegister.Register();

            //  Application.Run(new PCIEntrance());
            //Application.Run(new Main());
            //Application.Run(new CreateFingerPrintDatabase());
            //Application.Run(new SyntheticFingerprintLibrary());
            Application.Run(new Form2());
            //Application.Run(new AddressToLongitudeLatitude());
            //Application.Run(new UpdateBuildingVectorRectangle());
        }
    }
}
